/**
 * Brown University, Computer Science Department
 *
 * Author: Jonas Schwertfeger <js at cs.brown.edu>
 * Date:   10/2/2007
 *
 */

#include "./objectpose.h"

namespace rlab {

//-----------------------------------------------------------------------------------------------------------
ObjectPose::ObjectPose()
  : x_(0.0),
    y_(0.0),
    yaw_(0.0)
{
}


//-----------------------------------------------------------------------------------------------------------
ObjectPose::ObjectPose(float x, float y, float yaw)
{
  setX(x);
  setY(y);
  setYaw(yaw);
}


//-----------------------------------------------------------------------------------------------------------
ObjectPose::~ObjectPose()
{
}


//-----------------------------------------------------------------------------------------------------------
void ObjectPose::setX(float x)
{
  x_ = x;
}


//-----------------------------------------------------------------------------------------------------------
float ObjectPose::getX() const
{
  return x_;
}


//-----------------------------------------------------------------------------------------------------------
void ObjectPose::setY(float y)
{
  y_ = y;
}


//-----------------------------------------------------------------------------------------------------------
float ObjectPose::getY() const
{
  return y_;
}


//-----------------------------------------------------------------------------------------------------------
void ObjectPose::setYaw(float yaw)
{
  yaw_ = yaw;
}


//-----------------------------------------------------------------------------------------------------------
float ObjectPose::getYaw() const
{
  return yaw_;
}

} // namespace rlab

